package org.ymjava.medical.db.AllPackage.biz;

import org.springframework.stereotype.Service;

import org.ymjava.medical.db.AbstractBaseBiz.BaseBiz;
import org.ymjava.medical.db.AllPackage.entity.MobileUser;
import org.ymjava.medical.db.AllPackage.mapper.MobileUserMapper;
import tk.mybatis.mapper.entity.Example;


/**
 * 
 *
 * @author zhy
 * @email ${email}
 * @date 2020-03-24 10:40:29
 */
@Service
public class MobileUserBiz extends BaseBiz<MobileUserMapper,MobileUser> {



    public MobileUser queryByOpenid(String openid){

        MobileUser user = new MobileUser();
        user.setDeleted(0);
        user.setWxOpenid(openid);

        user = selectOne(user);

        return user;

    }

}